|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataType
Describes a type of dynamic data object.
| Method Summary | |
|---|---|
java.lang.String |
getFieldInitialValue(java.lang.String fieldName)
Returns the initial value for new instances of the specified field. |
java.lang.String[] |
getFieldNames()
Returns the names of the fields that objects of this type support. |
IDataType |
getFieldType(java.lang.String fieldName)
Returns the type of the specified field or null if no such
field exists. |
java.lang.String |
getName()
Returns the unique name of this type. |
java.lang.String |
getPrimaryFieldName()
Returns the name of the field that objects of this type treat as their primary value or null if no such field is defined. |
boolean |
isArrayType()
Returns true if this type represents an array type. |
boolean |
isComplexType()
Returns true if this type represents a type with named fields. |
boolean |
isSimpleType()
Returns true if this type represents a boolean, date, decimal, number, or string type. |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String[] getFieldNames()
java.lang.String getPrimaryFieldName()
null if no such field is defined.
IDataType getFieldType(java.lang.String fieldName)
null if no such
field exists.
fieldName - The name of the field to determine the type of.
null if no such
field exists.java.lang.String getFieldInitialValue(java.lang.String fieldName)
fieldName - The name of the field to determine the initial value of.
boolean isArrayType()
boolean isComplexType()
boolean isSimpleType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||